#!/bin/bash
T="----------> "
echo "$T getting icu UNICODE support"
wget http://download.icu-project.org/files/icu4c/3.8/icu4c-3_8-src.tgz
tar -zxvf icu4c-3_8-src.tgz

echo "$T getting sqlite"
wget http://www.sqlite.org/sqlite-3.5.2.tar.gz
tar -zxvf sqlite-3.5.2.tar.gz


echo "$T getting JSON"
wget http://oss.metaparadigm.com/json-c/json-c-0.7.tar.gz
tar -zxvf json-c-0.7.tar.gz

#http://www.json.org/JSON_checker/

echo "$T compiling SQLite"
cd sqlite-3.5.2
./configure --enable-threadsafe --disable-tcl  --enable-cross-thread-connections 
make clean
make
sudo make install
cd../